﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.StoreManagement
{
    public class CertificateByBusinessInput
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 0查看 1 修改 
        /// </summary>
        public int Type { get; set; }
    }
    public class AlterCertificateInput
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 放行单号
        /// </summary>
        public string ReleaseOrder { get; set; }
        /// <summary>
        /// 合格证号
        /// </summary>
        public string QualifiedNumber { get; set; }
     
        public List<Guid> StoreList = new List<Guid>();

        /// <summary>
        /// 装配任务号（去向）
        /// </summary>
        public string WhereAbouts { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutNum { get; set; }
        /// <summary>
        /// 报废人Id/返修人Id/驳回人Id
        /// </summary>
        public long? operationPersonId { get; set; }
        /// <summary>
        /// 报废人/返修人/驳回人
        /// </summary>
        public string operationPerson { get; set; }

        /// <summary>
        /// 报废时间/返修时间/驳回时间
        /// </summary>
        public DateTime? operationTime { get; set; }

        /// <summary>
        /// 报废分类
        /// </summary>
        public string ScrapReason { get; set; }

        /// <summary>
        /// 报废分类Id
        /// </summary>
        public Guid? ScrapReasonId { get; set; }
        /// <summary>
        /// 报废原因
        /// </summary>
        public string Reason { get; set; }

        public bool IsRelieve { get; set; }

        /// <summary>
        /// 操作类型 0 报废 1 返修 2 驳回 3 新增
        /// </summary>
        public int Operation { get; set; }


    }
}
